home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Compilers⁄Interps / GCC-2.3.3r12 / Targets / 88k / config.h next >
Encoding:
C/C++ Source or Header  |  1993-03-12  |  2.4 KB  |  101 lines  |  [TEXT/MPS ]

  1. /* Configuration for GNU compiler.
  2.    Motorola m88100 in an 88open OCS/BCS environment.
  3.    Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc.
  4.  
  5. This file is part of GNU CC.
  6.  
  7. GNU CC is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2, or (at your option)
  10. any later version.
  11.  
  12. GNU CC is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with GNU CC; see the file COPYING.  If not, write to
  19. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21.  
  22. #ifndef MPW
  23. #define MPW
  24. #endif
  25.  
  26. #define abort fancy_abort
  27.  
  28. #ifdef __STDIO__
  29. FILE *mpw_fopen();
  30. #endif
  31.  
  32. #define fopen(a,b) mpw_fopen(a,b)
  33. #define SHORT_ENUM_BUG
  34.  
  35. /* This is for generic improvements to GCC. */
  36.  
  37. #define APPLE_HAX
  38.  
  39. /* This tweaks the preprocessor to like double slash as a comment. */
  40.  
  41. #define CPLUSPLUS
  42.  
  43. /* #defines that need visibility everywhere.  */
  44. #define FALSE 0
  45. #define TRUE 1
  46.  
  47. /* This describes the machine the compiler is hosted on.  */
  48. #define HOST_BITS_PER_CHAR 8
  49. #define HOST_BITS_PER_SHORT 16
  50. #define HOST_BITS_PER_INT 32
  51. #define HOST_BITS_PER_LONG 32
  52. #define HOST_BITS_PER_LONGLONG 64
  53.  
  54. #define HOST_WORDS_BIG_ENDIAN
  55.  
  56. /* Arguments to use with `exit'.  */
  57. #define SUCCESS_EXIT_CODE 0
  58. #define FATAL_EXIT_CODE 33
  59.  
  60. #ifdef MPW_C
  61. #define ONLY_INT_FIELDS
  62. #endif
  63.  
  64. #include <Errors.h>
  65.  
  66. /* Use System V memory functions.  */
  67. #define bcopy(a,b,c) memcpy (b,a,c)
  68. #define bzero(a,b) memset (a,0,b)
  69. #define bcmp(a,b,c) memcmp (a,b,c)
  70.  
  71. #define rindex strrchr
  72. #define index strchr
  73.  
  74. #ifndef MPW
  75. /* The 88open BCS (and ABI) environment doesn't support BSD features
  76.    (vfork, getrusage), so use USG.  The Omron Luna/88k is BSD though.  */
  77. #ifndef luna88k
  78. #define USG
  79. #define NO_SYS_SIGLIST
  80. #endif
  81. #endif
  82.  
  83. /* Define HAVE_VPRINTF if it is available on host system.  */
  84. #define HAVE_VPRINTF
  85.  
  86. /* If compiled with GNU C, use the built-in alloca */
  87. #ifdef __GNUC__
  88. #define alloca __builtin_alloca
  89. #else
  90. #define USE_C_ALLOCA
  91. #endif
  92.  
  93. /* For DG/UX, the best size is different.  */
  94. #ifdef __DGUX__
  95. #define OBSTACK_CHUNK_SIZE (8192-16)
  96. #endif
  97.  
  98. /* target machine dependencies.
  99.    tm.h is a symbolic link to the actual target specific file.   */
  100. #include "tm.h"
  101.